package com.itfenxiang.tools.okio.simples;

import org.junit.jupiter.api.Test;

import java.io.IOException;
import java.nio.channels.ReadableByteChannel;
import java.nio.file.StandardOpenOption;
import java.util.EnumSet;
import java.util.Map;
import java.util.Set;

import static java.nio.file.StandardOpenOption.*;


/**
 * @description: TODO
 * @author: 墨凡
 * @date: 2024/4/30 17:21
 * @version: 1.0
 */
public final class WriteFile {

    private static final String quote =
            "John, the kind of control you're attempting simply is... it's not "
                    + "possible. If there is one thing the history of evolution has "
                    + "taught us it's that life will not be contained. Life breaks "
                    + "free, it expands to new territories and crashes through "
                    + "barriers, painfully, maybe even dangerously, but, uh... well, "
                    + "there it is.";
    private static final Set<StandardOpenOption> r = EnumSet.of(READ);
    private static final Set<StandardOpenOption> w = EnumSet.of(WRITE);
    private static final Set<StandardOpenOption> append = EnumSet.of(WRITE, APPEND);


    @Test
    public void testReadChannel() throws Exception {
    }
}
